@import '~antd/lib/style/themes/default.less';

.container {
  display: flex;
  position: relative;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
  background: #f6f6f6;
}

.lang {
  text-align: right;
  width: 100%;
  height: 40px;
  line-height: 44px;
  :global(.ant-dropdown-trigger) {
    margin-right: 24px;
  }
}

.content {
  padding: 32px 0;
  flex: 1;
  display: flex;
  align-items: center;
  margin: 0 auto;
  justify-content: center;
  position: relative;
  .mainContainer {
    position: relative;
    background: url('../assets/login-white-bg.png') no-repeat;
    background-size:100% ;
    min-height: 460px;
    z-index: 999;
    border-radius: 4px;
    box-shadow: 0px 6px 16px 0px rgba(18, 23, 36, 0.16), 0px 3px 6px -4px rgba(18, 23, 36, 0.2);
    background-color: #fff;
  }
}

@media (min-width: @screen-md-min) {
  .container {
    // background-image: url('https://fns-bucket.oss-cn-beijing.aliyuncs.com/fns-img/20190829171250.png');
    background-image: url('../assets/userlayout-container-bj.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
  }

  .content {
    padding: 32px 0 24px 0;
  }
}
.loginLeft{
  background: url('../assets/login-bule-bg.png') no-repeat;
  background-size: 100% 100%;
  padding: 31px 0 0 52px;
  min-height: 460px;
  width: 360px;
  box-shadow: 0px 6px 16px 0px rgba(18, 23, 36, 0.16), 0px 3px 6px -4px rgba(18, 23, 36, 0.2);
  p{
    padding: 0;
    margin: 0;
    font-family: PingFangSC-Medium, PingFang SC;
    color: white;
  }
  p:nth-child(1){
    font-size: 22px;
    font-weight: 500;
  }
  p:nth-child(2){
    font-size: 16px;
    font-weight: 400;
    margin-top: 8px;
  }
}
.top {
  text-align: center;
}

.header {
  a {
    text-decoration: none;
  }
}
.logo {
  height: 80px;
  line-height: 80px;
  padding-left: 60px;
  img {
    width: 102px;
  }
}

.title {
  color: @heading-color;
  font-family: Avenir, 'Helvetica Neue', Arial, Helvetica, sans-serif;
  font-weight: bolder;
  position: relative;
}

.desc {
  font-size: @font-size-base;
  color: @text-color-secondary;
  margin-top: 12px;
  margin-bottom: 40px;
}

.downloadChrome {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.45);
  line-height: 32px;
}

.copyRight {
  line-height: 36px;
}

// 最小宽度1920
@media screen and (min-width: 1921px) {
  .mainContainer {
    // width: 500px;
    // height: 464px;
    width: 460px;
    // min-height: 322px;
  }
  .title {
    font-size: 40px;
  }
  .top {
    margin-top: 40px;
  }
  .header {
    height: 40px;
    line-height: 40px;
  }
  .bgImg {
    img:first-child {
      position: absolute;
      left: 0;
      top: calc(128 / 1440 * 100vh);
      height: calc(1076 / 1440 * 100vh);
    }
    img:nth-child(2) {
      position: absolute;
      right: calc(-130 / 2560 * 100vw);
      top: calc(160 / 1440 * 100vh);
      height: calc(1094 / 1440 * 100vh);
    }
  }
}

// 1600-1920
@media screen and (min-width: @screen-xxl) and (max-width: 1920px) {
  .mainContainer {
    width: 460px;
    // width: 435px;
    // min-height: 322px;
    // height: 464px;
   

  }
  .title {
    font-size: 40px;
  }
  .top {
    margin-top: 40px;
  }
  .header {
    height: 34px;
    line-height: 34px;
  }
  .bgImg {
    img:first-child {
      position: absolute;
      left: 0;
      top: calc(152 / 1080 * 100vh);
      height: calc(750 / 1080 * 100vh);
    }
    img:nth-child(2) {
      position: absolute;
      right: calc(-80 / 1920 * 100vw);
      top: calc(196 / 1080 * 100vh);
      height: calc(689 / 1080 * 100vh);
    }
  }
}

// 1400-1600
@media screen and (min-width: 1400px) and (max-width: @screen-xxl) {
  .mainContainer {
    // width: 303px;
    // min-height: 322px;
    min-height: 460px;
    width: 460px;
  }
  .title {
    font-size: 24px;
  }
  .top {
    margin-top: 94px;
  }
  .header {
    height: 28px;
    line-height: 28px;
  }
  .bgImg {
    img:first-child {
      position: absolute;
      left: 0;
      top: calc(170 / 900 * 100vh);
      height: 528px;
    }
    img:nth-child(2) {
      position: absolute;
      right: calc(-64 / 1440 * 100vw);
      top: calc(170 / 900 * 100vh);
      height: 528px;
    }
  }
}

// 1000 - 1400
@media screen and (min-width: 1000px) and (max-width: 1400px) {
  .mainContainer {
    min-height: 460px;
    width: 460px;
    // width: 303px;
    // min-height: 322px;
  }
  .title {
    font-size: 24px;
  }
  .top {
    margin-top: 94px;
  }
  .header {
    height: 28px;
    line-height: 28px;
  }
  .bgImg {
    img:first-child {
      position: absolute;
      left: 0;
      top: calc(96 / 720 * 100vh);
      height: 528px;
    }
    img:nth-child(2) {
      position: absolute;
      right: calc(-62 / 1280 * 100vw);
      top: calc(93 / 720 * 100vh);
      height: 528px;
    }
  }
}

// 1000
@media screen and (max-width: 1000px) {
  .mainContainer {
    width: calc(360 / 500 * 100vw);
    // height: calc(450 / 970 * 100vh);
    min-height: 322px;
    // min-width: 460px;
  }
  .loginLeft{
    display: none;
  }
  .logo {
    // line-height: 245px;
    padding-left: 0;
    text-align: center;
    img {
      width: 128px;
    }
  }
  .title {
    // font-size: calc(28 / 970 * 100vh);
  }
  .top {
    margin-top: 32px;
  }
  .header {
    height: 28px;
    line-height: 28px;
  }
  .container {
    background-image: url('../assets/mobileBg.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
  }
  .bgImg {
    img:first-child {
      display: none;
    }
    img:nth-child(2) {
      display: none;
    }
  }
}


